export const asyncRoutes: RouteRecordRaw[] = [
  {
    path: '/union',
    component: Layout,
    meta: { permission: 'union:overview:view' },
    children: [
      {
        path: 'overview',
        component: () => import('@/views/union/overview/index.vue'),
        meta: { title: '工会概况' }
      }
    ]
  },
  {
    path: '/branch',
    component: Layout,
    meta: { permission: 'branch:system:manage' },
    children: [
      {
        path: 'system',
        component: () => import('@/views/branch/system/index.vue'),
        meta: { title: '分工会制度管理' }
      },
      {
        path: 'plan',
        component: () => import('@/views/branch/plan/index.vue'),
        meta: { title: '分工会计划管理' }
      }
    ]
  }
] 